.container {
    height: 100%;
    background-color: #fafafa;

    .ellipsis {
        flex: 1;
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .header,
    .footer {
        height: 5rem;
        line-height: 5rem;
        padding: 0 1rem;
        width: 100vw;
        position: fixed;
        left: 0;
        background-color: #fff;
        z-index: 101;
        box-shadow: 0 0 .5rem 0 rgba(171, 171, 171, .8);
        box-sizing: border-box;
    }

    /* header */
    .header {
        border-bottom: .1rem solid #f1f1f1;
        top: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .title {
        height: 100%;
        display: flex;
        align-items: center;

        a {
            color: #000;
            text-decoration: none;
            display: flex;
            height: 100%;
            align-items: center;

            .title-content {
                overflow: hidden;
                font-size: 1.5rem;
                white-space: nowrap;
            }
        }
    }

    /* main */
    .main {
        padding: 5rem 0;
        height: calc(100% - 10rem);
        max-height: calc(100% - 10rem);
        display: flex;
    }

    .nav {
        background-color: #fafafa;
        overflow: auto;
        height: 100%;
        min-height: 100%;
    }

    .menu {
        height: 100%;
    }

    .menu-item {
        user-select: none;
        box-sizing: border-box;

        a {
            text-decoration: none;
            color: #000;
            display: block;
            padding: 0 1rem;
            cursor: pointer;
            transition: ease-in-out .2s;
            transition-property: background, color;
            height: 4rem;
            line-height: 4rem;
        }
    }

    .active-menu {
        a {
            color: #fff;
            background-color: rgba(64, 158, 255, .4);
            border-right: .2rem solid rgba(64, 158, 255, .6);
        }
    }

    .content {
        height: 100%;
        max-height: 100%;
        background-color: #fafafa;
        overflow: auto;
    }

    /* footer */
    .footer {
        border-top: .1rem solid #f1f1f1;
        bottom: 0;

        a {
            color: #409eff;
            text-decoration: none;
        }
    }
}